package com.gitee.pifeng.monitoring.ui.business.web.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gitee.pifeng.monitoring.ui.business.web.entity.MonitorFeed;
import com.gitee.pifeng.monitoring.ui.business.web.entity.MonitorUser;
import com.gitee.pifeng.monitoring.ui.business.web.vo.LayUiAdminResultVo;
import com.gitee.pifeng.monitoring.ui.business.web.vo.MonitorFeedVo;
import org.hyperic.sigar.SigarException;

import java.io.IOException;
import java.util.List;

public interface IMonitorFeedService {
    Page<MonitorFeedVo> getMonitorFeedList(Long current, Long size, String feedNumber, String submitUser, String solveUser, Integer status);

    LayUiAdminResultVo saveMonitorFeed(MonitorFeed monitorFeed);

    MonitorFeedVo getFeedDetail(String id);

    LayUiAdminResultVo deleteFeed(List<MonitorFeedVo> monitorFeedVos);

    MonitorFeed selectByid(String id);

    LayUiAdminResultVo updateMonitorFeed(MonitorFeed monitorFeed);

    Page<MonitorFeedVo> getRepairMonitorFeedList(Long current, Long size, String feedNumber, Integer status,String userName,String submitUser);

    LayUiAdminResultVo addReport(String id, String content,Integer a);

    Page<MonitorFeedVo> getCommonMonitorFeedList(Long current, Long size, String feedNumber, Integer status, String username, String solveUser);

    LayUiAdminResultVo getLast7DayFeed();

    LayUiAdminResultVo getUserFeed();

    void sendFeedMail(String toMail, String type) throws SigarException, IOException;

    LayUiAdminResultVo getFeedDepartment();
}

